﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Baohiemaz.DTO;

namespace Baohiemaz.DataAccess
{
    public class UserDA
    {
        public UserDTO Login(string email, string password)
        {
            BaoHiemAzEntities context = new BaoHiemAzEntities();
            var result = context.tblUsers.FirstOrDefault(x => x.idUser == 1) ; //context.CreateQuery<User>("SELECT ID, Email, Password FROM [User]").ToList();
            return null;
        }
    }
}
